show

open suspend override fun show(animated: Boolean): Alert.Action?

Presents an Alert and suspends until completion

Return

The Alert.Action that was performed by button click or null if the alert was cancelled by the user. Note that some platforms, such as iOS, may not allow the user to cancel the alert.

Parameters

animated

Pass true to animate the presentation